<template>
  <div class="my-header">
    <span>&lt;</span>
    <slot></slot>
    <button>搜索</button>
  </div>
</template>
<style lang="scss">
.my-header {
  height: 50px;
  background: #ccc;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  align-items: center;
}
</style>
